import { CpcBase, ICpcBaseIos } from "../../base/CpcBase";

const ios: ICpcBaseIos = {
    disablePreInput: true,
    inputs: [],
    outputs: [
        {
            name: "ctx",
            type: "Object",
        },
    ],
};
export class Router extends CpcBase {
    public title = "路由实例";

    public type = "Router";

    protected codeEditDbShow = true;

    protected codeEidtReadOnly = true;

    constructor(title?: string) {
        super(ios, title);
    }

    cpcRunCode(preDatas: any[], inputInfos: any[], outputInfos: any[]): any[] {
        return preDatas;
    }
}
